package
{
	import flash.events.Event;

	public class MenuItemSelectedEvent extends Event
	{
		public static const MENU_ITEM_SELECTED:String="menuItemSelected";

		private var _menuItem:String;

		public function MenuItemSelectedEvent(type:String, menuItem:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			_menuItem=menuItem;
		}

		public function get menuItem():String
		{
			return _menuItem;
		}

		override public function clone():Event
		{
			var newEvent:MenuItemSelectedEvent=new MenuItemSelectedEvent(MENU_ITEM_SELECTED, _menuItem);
			return newEvent;
		}

	}
}
